package com.ecode.imecode.pack;

import lombok.Data;

import java.io.Serializable;

/**
 * 服务端于tcp端进行消息交换的包装类
 */
@Data
public class MessagePack<T> implements Serializable {

    private int command;

    private String toUserId;

    private String toAppId;

    private String toImei;

    private String toClientType;

    private T data;

}
